<div class="form-group">
    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
        <p>请选择团队性别</p>
        <select name="sex" class="form-control" ng-model="vm.sex">  
            <option value="">全部</option>
            <option value="male">男子团体</option>
            <option value="female">女子团体</option>
            <option value="mixed">混合</option>
        </select>
    </div>

    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
        <p>团队名称</p>
        <input type="text" name="raceName" class="form-control" ng-model="vm.teamname" placeholder="请输入团队名称" >
    </div>
    <div class="col-lg-2 col-md-3 col-sm-4 col-lg-offset-6 col-md-offset-3 text-align-right  margin-bottom-10">
        <p>&nbsp;</p>
        <button type="submit" class="btn btn-sm btn-primary" style="width: 100%;" ng-click="vm.searchTableData('circle', vm.course.course_id, vm.sex, vm.teamname)">搜索</button>
    </div>
    <!-- 团队绕圈定距模板 -->
    <table id="person_table_circle_dist" class="table table-striped table-bordered table-hover" ng-if="vm.reamtimeTeamlist.length!=0">
        <thead>
            <tr>
                <th>团队名称</th>
                <th>团体性别</th>
                <th>已经过计时点</th>
                <th>最终成绩</th>
                <th>排名</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="team in vm.reamtimeTeamlist">
                <!-- <td class="text-center">{{team.team_name}}</td> -->
                <td ui-sref="dashboard.race.realtimeteam({course_id: vm.crouseState.course_id, team_name: team.team_name})" ng-click="vm.click()" class="text-center"><a>{{team.team_name}}</a></td>
                <td class="text-center">
                    <span ng-if="team.team_gender == 'mixed'">混合</span>
                    <span ng-if="team.team_gender == 'female'">女子</span>
                    <span ng-if="team.team_gender == 'male'">男子</span>
                </td>
                <td class="text-center">{{team.nums}}</td>
                <td class="text-center">{{team.score}}</td>
                <td class="text-center">{{team.seq}}</td>
            </tr>
        </tbody>
    </table>
</div>
<p class="text-center margin-top-20" ng-if="vm.reamtimeTeamlistFlag">
    没有搜索到相应数据。
</p>
<p class="text-center margin-top-20" ng-if="vm.lodingFlag">
    正在加载..........
</p>